home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / util / diskfile / ofiles11.sit / OpenFileSpy 1.1 Help / card_8868.txt < prev    next >
Encoding:
Text File  |  1990-12-04  |  1.2 KB  |  26 lines

  1. -- card: 8868 from stack: in.1 Help
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 2665
  5. -- name: FCB II
  6. ----- HyperTalk script -----
  7. on openCard
  8.   set visible of background button "Forward But" to true
  9.   set visible of background button "Backward But" to true
  10. end openCard
  11.  
  12.  
  13.  
  14. -- part contents for background part 1
  15. ----- text -----
  16. File Control Block (FCB), con't
  17.  
  18. -- part contents for background part 2
  19. ----- text -----
  20. ΓÇó ioFCBEOF -- The byte number that is the last byte of valid data in this file.
  21.  
  22. ΓÇó ioFCBPLen -- The byte number of the last byte of allocated space in this file.  The reason this is different from ioFCBEOF is that it is efficient to allocate several disk blocks to a file at a time.  Thus, if your disk block size is 512 bytes, and the clump size is 2 (see below), each time the file manager needs more space in a file it will allocate 1K -- two blocks -- no matter how much it needs.  Thus, it may well be that only a few bytes are filled.  ioFCBPLen represents the last byte of all space allocated to the file, as compared to ioFCBEOF which represents the last byte of *filled* space.
  23.  
  24. ΓÇó ioFCBCrPs -- Mark.  This is the byte at which the next read or write will take place.
  25.  
  26.